﻿using MediatR;
using MyMES.Domain.W.Liststructure;
using MyMES.Error;

namespace MyMES.Writer.API.Application.Commends.W.realize
{
    public class AddMaterialproductclassificationCommands:IRequest<APIResult<Materialproductclassification>>
    {
        public int ParentId { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string Classificationname { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 产品物料
        /// </summary>
        public bool Materialproduct { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime STime { get; set; }=DateTime.Now;

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDelete { get; set; }

        /// <summary>
        /// 子集
        /// </summary>
        public int ZId { get; set; }
    }
}
